//
//  OrderFooterCenterTableViewCell.m
//  FD
//
//  Created by xiaofang wang on 2019/1/8.
//  Copyright © 2019年 ZhiYuan Network. All rights reserved.
//

#import "OrderFooterCenterTableViewCell.h"
@interface OrderFooterCenterTableViewCell()
@property (weak, nonatomic) IBOutlet UILabel *firstLb;
@property (weak, nonatomic) IBOutlet UILabel *secondLb;
@property (weak, nonatomic) IBOutlet UIView *lightGrayLineView; //灰色的线
@end

@implementation OrderFooterCenterTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code

    //单独修改cell线的颜色
    self.lightGrayLineView.backgroundColor = kMainLightGrayColor;
    self.selectionStyle = UITableViewCellSelectionStyleNone;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}


- (void)setModel:(WSOrderMsgModel *)model {
    _model = model;
    //有值就是自己没值就是空@“”
    NSString *str1 = model.title ? : @"";
    NSString *str2 = model.content ? : @"";
    
    self.firstLb.text = str1;
    self.secondLb.text = str2;
}

@end
